home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu450.dms / pu450.adf / include / locale.h < prev    next >
C/C++ Source or Header  |  2014-06-18  |  831b  |  43 lines

  1.  
  2. /*
  3.  *  LOCALE.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _LOCALE_H
  9. #define _LOCALE_H
  10.  
  11. typedef struct {
  12.     char    *currency_symbol;
  13.     char    *decimal_point;
  14.     char    frac_digits;
  15.     char    grouping;
  16.     char    *int_curr_symbol;
  17.     char    *mon_decimal_point;
  18.     char    mon_grouping;
  19.     char    *mon_thousands_sep;
  20.     char    n_cs_precedes;
  21.     char    n_sep_by_space;
  22.     char    n_sign_posn;
  23.     char    *negvative_sign;
  24.     char    p_cs_precedes;
  25.     char    p_sep_by_space;
  26.     char    p_sign_posn;
  27.     char    *positive_sign;
  28.     char    *thousands_sep;
  29. } lconv;
  30.  
  31. #define LC_ALL        -1
  32. #define LC_COLLATE    1
  33. #define LC_CTYPE    2
  34. #define LC_MONETARY    3
  35. #define LC_NUMERIC    4
  36. #define LC_TIME     5
  37.  
  38. extern struct lconv *localeconv(void);
  39. extern char *setlocale(int, const char *);
  40.  
  41. #endif
  42.  
  43.